package com.ldc.composetest.server

import com.ldc.commonlibs.common.RspModel
import com.ldc.commonlibs.common.RspPagingModel
import com.ldc.commonlibs.http.HttpServer
import com.ldc.composetest.model.ArticleModel
import retrofit2.http.GET
import retrofit2.http.Path


interface ComposeServer : HttpServer {
    @GET(value = "article/list/{page}/json")
    suspend fun getArticleList(@Path(value = "page") page: Int = 0): RspModel<RspPagingModel<ArticleModel>>
}